package com.xteam.xnetworkdisk.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xteam.xnetworkdisk.sys.entity.LoginHistoryEntity;
import com.xteam.xnetworkdisk.utils.PageUtils;
import com.xteam.xnetworkdisk.utils.R;

import java.util.Map;

/**
 * 
 *
 * @author xiaozhiyong
 * @email xiaozhiyong03@gmail.com
 * @date 2024-08-19 10:35:03
 */
public interface LoginHistoryService extends IService<LoginHistoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Boolean loginInsert(Integer userId, String ip, String location, int isSuccess, String device);

    R getLoginHistory();
}

